package src.lab02.test01.test37;

public class Graduate extends Student {
    //对于研究生，则需要平均超过80分才能够通过
    public Graduate(float score1, float score2, float score3) {
        super(score1, score2, score3);
    }
    public boolean pass() {

        if (getAvg() > 80) {
            return true;
        }
        return false;

    }
}
